package com.mgkj.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@EnableSwagger2
@ApiModel(value = "采购收货(单箱级条码)Vo")
public class PurchaseReceiptStorageVo {
    //基于e10字段-易飞共用转
    @ApiModelProperty(value = "到货单号")
    private String arrivalNo;
    @ApiModelProperty(value = "到货单号")
    private String docNo;
    @ApiModelProperty(value = "易飞序号")
    private String xh;
    @ApiModelProperty(value = "品号")
    private String itemCode="";
    @ApiModelProperty(value = "品名")
    private String itemName="";
    @ApiModelProperty(value = "规格")
    private String itemSpec="";
    @ApiModelProperty(value = "单据日期", example = "20240801")
    private String docDate;
    @ApiModelProperty(value = "供应商编号")
    private String supplierNo="";
    @ApiModelProperty(value = "供应商名称")
    private String supplierName="";
    @ApiModelProperty(value = "易飞剩余可检验数量")
    private BigDecimal matchQty = BigDecimal.ZERO;

    //易飞字段
    @ApiModelProperty(value = "本次到货数量")
    private BigDecimal deliveryQty = BigDecimal.ZERO;
    @ApiModelProperty(value = "验收数量")
    private BigDecimal checkQty = BigDecimal.ZERO;
    @ApiModelProperty(value = "验退数量")
    private BigDecimal returnQty = BigDecimal.ZERO;
    @ApiModelProperty(value = "报废数量")
    private BigDecimal scrapQty = BigDecimal.ZERO;
    @ApiModelProperty(value = "破坏数量")
    private BigDecimal breakQty = BigDecimal.ZERO;
    @ApiModelProperty(value = "创建人/审核人")
    private String creator ;
    @ApiModelProperty(value = "创建人/审核人")
    private String creatorName ;



    //--------------以下为阿波罗e10独有字段--------------//
    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "采购员编号")
    private String createBy="";


    @ApiModelProperty(value = "送货单号")
    private String deliveryNumber;


    @ApiModelProperty(value = "仓库编号")
    private String warehouseCode= "";

    @ApiModelProperty(value = "库位编码")
    private String binCode="";


    @ApiModelProperty(value = "条码")
    private String barcode;

    @ApiModelProperty(value = "客户编号")
    private String customerNo;

    @ApiModelProperty(value = "单位编号")
    private String unitCode;

    @ApiModelProperty(value = "单位名称")
    private String unitName;

    @ApiModelProperty(value = "收货机构")
    private String shjg;

    @ApiModelProperty(value = "e10标准收容数量")
    private BigDecimal containerQty;

    @ApiModelProperty(value = "收容器具")
    private String containerName;

    @ApiModelProperty(value = "收容器具尺寸")
    private String containerDetail;

    @ApiModelProperty(value = "容器码uuid")
    private String standard_col10;

    @ApiModelProperty(value = "当前条码状态")
    private String lot_att30;

    @ApiModelProperty(value = "条码类型(4.子条码 5.容器码)")
    private String bar_type;

    @ApiModelProperty(value = "送货单头uuid")
    private String parentId;
}
